--[[
   all log thingies going on here
]]--

Optimizer.Stack = {};
Optimizer.Stack_mt = { __index = Optimizer.Stack };

function Optimizer.Log:new()
    local new_inst = {
        stack = {}
    };   -- the new instance
    setmetatable( new_inst, Optimizer.Stack_mt ); -- all instances share the same metatable
    return new_inst;     
end

function Optimizer:top()
    for i,v in pairs(self.stack) do
        return(v);
        self.stack[i] = nil;
        do break end;
    end
end

function Optimizer:add()
    
end